package com.aspose.cells;

final class zadf {
   public static void a(com.aspose.cells.b.a.b.zq[] var0, com.aspose.cells.b.a.b.zo var1) {
      a(var0, var1.d());
      b(var0, var1.e());
   }

   public static void a(com.aspose.cells.b.a.b.zq[] var0, float var1) {
      if (var1 < var0[0].f()) {
         var0[0].c(var0[0].l() - var1);
         var0[0].a(var1);
      } else if (var1 > var0[0].l()) {
         var0[0].c(var1 - var0[0].f());
      }

   }

   public static void b(com.aspose.cells.b.a.b.zq[] var0, float var1) {
      if (var1 < var0[0].g()) {
         var0[0].d(var0[0].m() - var1);
         var0[0].b(var1);
      } else if (var1 > var0[0].m()) {
         var0[0].d(var1 - var0[0].g());
      }

   }
}
